import java.io.BufferedReader;
import java.io.InputStreamReader;

import util.FileClassLoader;


import connection.IrcConnection;
import connection.IrcFunction;
import functions.*;



public class RunIrcbot {
	static String[] ajChannels = {"#crazychanneltesting"};

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		IrcConnection con = new IrcConnection("irc.quakenet.org", 6667);
		
		Autojoin aj = new Autojoin();
		aj.setIrcConnection(con);
		aj.setParams(ajChannels);
		FunctionLoader fl = new FunctionLoader();
		fl.setIrcConnection(con);
		
		con.connect();
	}

}
